.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  left: 0;
  z-index: 1002;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);


  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #004097;

    a {
      margin-left: 20px;
      // transform: translateY(2px);

      img {
        width: 240px;
        object-fit: contain;
      }
    }

    .navbox {
      margin-right: 20px;
      transition: all .6s;

      .line {
        width: 30px;
        height: 1px;
        background-color: #fff;
        margin: 8px 0;
        -webkit-transition: all .6s;
        transition: all .6s;
      }
    }

    .activeBox {
      //transform: translateX(20px);
      .line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
      }

      .line:nth-child(2) {
        transform: translateX(30px);
        opacity: 0;
      }

      .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  z-index: 1001;
  background: url(http://public.nimte.cas.cn/images/navbg.jpg) left top no-repeat;
  background-size: cover;
  display: none;
  padding: 15px 0;
  font-size: 18px;
  height: calc(100vh - 89px);
  .item {
    padding: .8rem 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, .1);
    margin: 0 15px;

    a {
      color: #fff;
      display: block;
      position: relative;
      text-transform: uppercase;

      img {
        position: absolute;
        right: 0;
        width: 20px;
        transition: all 600ms;
        top: 5px;
      }

      .icon2 {
        position: static;
        width: auto;
        margin-right: 10px;
      }

      .rotate {
        transform: rotate(90deg);
      }
    }

    .tb {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;

      a {
        width: 100%;
        display: block;
        font-weight: 600;
      }

      img {
        width: 24px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 600ms;
        filter: invert(100%);
      }

      .rotate {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    .types_top {
      display: none;

      a {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}

.search_box {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, .6);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;

  .close {
    position: absolute;
    right: 30px;
    top: 30px;
    cursor: pointer;

    img {
      width: 30px;
    }
  }

  .content {
    width: 50vw;
    position: relative;

    input {
      background-color: white;
      width: 100%;
      font-size: 16px;
      padding: 15px 0;
      border: none;
      outline: none;
      border-radius: 30px;
      text-indent: 30px;
    }

    a {
      position: absolute;
      right: 30px;
      top: 50%;
      transform: translateY(-50%);

      img {
        width: 30px;
      }
    }
  }
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0)
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0)
  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp
}

.head {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 13px 86px 20px 91px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 88;
  &:after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.2);
  }

  .logo {
    width: 20vw;
    position: relative;
    margin-top: 15px;

    img {
      width: 100%;
      display: block;
      &:nth-child(2) {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        opacity: 0;
      }
    }

  }

  .r {
    .flex {
      display: flex;
      justify-content: flex-end;
      margin: 0 0 30px;

      a {
        font-weight: 300;
        font-size: 14px;
        color: #D8D8D8;
        position: relative;
        transition: color 600ms;
        display: flex;
        align-items: center;
        img{
          width: 13px;
          margin-right: 5px;
        }
        &:hover{
          color:white;
        }
        &:not(:last-child) {
          margin: 0 37px 0 0;

          &:after {
            content: '';
            position: absolute;
            width: 1px;
            height: 12px;
            background: rgba(255, 255, 255, .3);
            top: 50%;
            transform: translateY(-50%);
            right: -18px;
          }
        }
      }
    }

    .other {
      display: flex;
      align-items: center;

      .nav {
        display: flex;
        margin: 0 30px 0 0;

        li{
          list-style: none;
          position: relative;
          .aList{
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 100%;
            width: fit-content;
            display: none;
            padding: 30px 15px 0 15px;
            z-index: 10;
            a{
              display: block;
              background: rgba(24, 24, 24, 0.6);
              color: white;
              padding: 10px 40px;
              text-align: center;
              transition: all 600ms;
              white-space: nowrap;
              &:hover{
                color: #0076BF;
                background-color: #fff;
              }
            }
          }
          &:after {
            content: '';
            position: absolute;
            width: 100%;
            height: 1px;
            background: #fff;
            bottom: -21px;
            left: 0;
            transform: scaleX(0);
            transform-origin: left;
            transition: .6s;
          }
          &:not(:last-child) {
            margin: 0 62px 0 0;
          }
          a {
            font-weight: 600;
            font-size: 18px;
            color: rgba(255, 255, 255, .9);
            position: relative;


          }
          &:hover, &.on {
            &:after {
              transform: scaleX(1);
            }

          }
          &:hover{
            .aList{
              display: block;
            }
          }
        }
    
      }

      .search {
        width: 21px;
        cursor: pointer;
        position: relative;

        img {
          width: 100%;
        }
      }
    }
  }

  &.on{
    background: #fff;
    .r .other .search img{
      filter: invert(100%);
    }
    .logo{
      img{
        &:first-child{
          opacity: 0;
        }
        &:nth-child(2) {
          opacity: 1;
        }
      }
    }
    &:after{
      content: '';
      position: absolute;
      width: 100%;
      height: 53px;
      top: 0;
      left: 0;
      z-index: -1;
      background: #004097;
    }
     .r .other .nav a{
       color: #2A2A2A;
       &:after{
         background: #060606;
       }
       &.on{
         color: #004097;
       }
     }
  }
}

.foot{
  position: relative;
  padding: 80px 0;
  z-index: 1;
  .click_scrollTo{
    position: absolute;
    top: 50px;
    right: 180px;
    z-index: 5;
    cursor: pointer;
  }
  .bg{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }
  *{
    box-sizing: border-box;
  }
  .wrap{
    width: 1421px;
    margin: auto;
    max-width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .des{
      font-size: 16px;
      line-height: 1.8;
      color:white;
    }
     .logo{
      img{
        width: 139px;
        display: block;
      }
     }
  }

}

@media screen and (max-width: 1680px) {
  .foot {
    .wrap {
      .top {
        .foo_nav {
          .item:not(:last-child) {
            margin: 0 64px 0 0;
          }
        }
      }
    }
  }
}

@media screen and (max-width: 1600px) {
  .head .r .other .nav li:not(:last-child) {
    margin: 0 35px 0 0;
  }
  .footer .wrap .picture img:not(:last-child) {
    margin: 0;
  }
  .footer .wrap .picture img {
    width: 15%;
  }
  .footer .wrap .picture {
    justify-content: space-between;
  }
}
@media screen and (max-width: 1544px) {
  .foot {
    .wrap {
      .top {
        .foo_nav {
          .item:not(:last-child) {
            margin: 0 45px 0 0;
          }
        }
      }
    }
  }
}
@media screen and (max-width: 1410px) {
  .foot {
    .wrap {
      .top {
        .foo_nav {
          .item:not(:last-child) {
            margin: 0 30px 0 0;
          }
        }
      }
    }
  }
}
@media screen and (max-width: 1385px) {
  .head{
    .logo{
      width: 23vw;
    }
  }

  .head .r .other .nav li:not(:last-child) {
    margin: 0 18px 0 0;
  }
  .footer .wrap .content .l {
    font-size: 16px;
  }
  .footer .wrap .content .img {
    width: 293px;
  }
}
@media screen and (max-width: 1300px) {
  .foot {
    .wrap {
      .top {
        .foo_nav {
          .item:not(:last-child) {
            margin: 0 20px 0 0;
          }
        }
      }
    }
  }
}
@media screen and (max-width: 1200px) {
  .pheader {
    display: flex;
  }
  .head {
    display: none;
  }

  .foot {
    padding: 20px  0;
    .wrap{
      flex-direction: column;
      .des{
        width: 100%;
        margin-bottom: 30px;
      }
    }
  }
}

.down_pull {
  position: relative;
  *{
    box-sizing: border-box;
  }
}

.down_pull .pull {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  width: 100%;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-height: 250px;
  overflow: hidden;
  overflow-y: scroll;
  z-index: 10;
}

.down_pull .pull.on {
  transition: ease .3s;
  opacity: 1;
  transform: translateY(10px);
  pointer-events: auto;
}

.down_pull .pull::-webkit-scrollbar {
  width: 0;
}

.down_pull .pull p {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  transition: ease .3s;
  color: #111;
  margin: 0;
}
.down_pull .pull p a{
  font-size: 14px;
  transition: ease .3s;
  color: #111;
  width: 100%;
  height: 100%;
  padding: 0 0 0 15px;
  display: flex;
  align-items: center;
}

.down_pull .pull p:hover a{
  background: var(--background);
  color: #fff;
}

.down_pull .pull p.on {
  background: rgba(0, 0, 0, 0.05) !important;
  color: #111 !important;
  pointer-events: none;
}